
package com.game.service.app.get_score;

public class UserLoginInfo {

    private long coin;
    private long diamond;
    private long score;
    private String APPSettlementType;//0金币模式,赢分不会转为钻石,1钻石模式,赢分优先转钻石
    private String H5SettlementType;//0金币模式,赢分不会转为钻石,1钻石模式,赢分优先转钻石
    private String avatar;
    private String user_nickname;
    private String viewingTableId;


    public long getCoin() {
        return coin;
    }

    public void setCoin(long coin) {
        this.coin = coin;
    }

    public long getDiamond() {
        return diamond;
    }

    public void setDiamond(long diamond) {
        this.diamond = diamond;
    }

    public int getAPPSettlementType() {
        int type = 0;
        try {
            type = Integer.getInteger(APPSettlementType);
        } catch (Exception ignored) {
        }
        return type;
    }

    public void setAPPSettlementType(String APPSettlementType) {
        this.APPSettlementType = APPSettlementType;
    }

    public int getH5SettlementType() {
        int type = 0;

        try {
            type = Integer.getInteger(APPSettlementType);
        } catch (Exception ignored) {
        }
        return type;
    }

    public void setH5SettlementType(String h5SettlementType) {
        H5SettlementType = h5SettlementType;
    }

    public String getUser_nickname() {
        return user_nickname;
    }

    public void setUser_nickname(String user_nickname) {
        this.user_nickname = user_nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public String getViewingTableId() {
        return viewingTableId;
    }

    public void setViewingTableId(String viewingTableId) {
        this.viewingTableId = viewingTableId;
    }

    @Override
    public String toString() {
        return "UserLoginInfo{" +
                "coin=" + coin +
                ", diamond=" + diamond +
                ", score=" + score +
                ", APPSettlementType=" + APPSettlementType +
                ", H5SettlementType=" + H5SettlementType +
                ", avatar='" + avatar + '\'' +
                ", user_nickname='" + user_nickname + '\'' +
                ", viewingTableId='" + viewingTableId + '\'' +
                '}';
    }
}